Parameters
T
x0
The initial sample.
DensityLn<T>
pdfLnP
The log density of the distribution we want to sample from.
TransitionKernelLn<T>
krnlQ
The log transition probability for the proposal distribution.
LocalProposalSampler<T>
proposal
A method that samples from the proposal distribution.
int
burnInterval
The number of iterations in between returning samples.